import json
d=dict(name='caitao',age='28',sex='男')
def foo(s):
    n = int(s)
    assert n != 0, 'n is zero!'
    return 10 / n
a=foo(0)
print(a)
